From 358ebaca5dc16917ff827f5b42b9cf07775580e4 Mon Sep 17 00:00:00 2001 From: justbur Date: Tue, 8 Sep 2015 06:31:52 -0400 Subject: [PATCH] Mute echo-keystrokes message It seems to be too much information to display on *every* startup --- which-key.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/which-key.el b/which-key.el index 506a95c9a2c..581c4a73186 100644 --- a/which-key.el +++ b/which-key.el @@ -407,15 +407,17 @@ set too high) and setup which-key buffer." (defun which-key--setup-echo-keystrokes () "Reduce `echo-keystrokes' if necessary (it will interfer if it's set too high)." - (let ((previous echo-keystrokes)) + (let (;(previous echo-keystrokes) + ) (when (and echo-keystrokes (> (abs (- echo-keystrokes which-key-echo-keystrokes)) 0.000001)) (if (> which-key-idle-delay which-key-echo-keystrokes) (setq echo-keystrokes which-key-echo-keystrokes) (setq which-key-echo-keystrokes (/ (float which-key-idle-delay) 4) echo-keystrokes which-key-echo-keystrokes)) - (message "which-key: echo-keystrokes changed from %s to %s" - previous echo-keystrokes)))) + ;; (message "which-key: echo-keystrokes changed from %s to %s" + ;; previous echo-keystrokes) + ))) ;; Default configuration functions for use by users. Should be the "best" ;; configurations -- 2.30.2